/*
 * @Descripttion: 
 * @version: 
 * @Author: 穆宏宇
 * @Date: 2020-10-20 11:42:01
 * @LastEditors: 穆宏宇
 * @LastEditTime: 2020-11-26 09:25:21
 */
export default [
  // {
  //   type: 'selection',
  //   minWidth: '50',
  //   label: '多选'
  // },
  {
    prop: 'supplierName',
    minWidth: '180',
    label: '供应商名称'
  },
  {
    prop: 'tertiaryCategoryName',
    minWidth: '150',
    label: '商品目录'
  },
  {
    prop: 'selfPriceType',
    label: '设置类型',
  },
  {
    prop: 'selfPriceFloat',
    label: '目录规则',
    slotName:'selfPriceFloat'
  },
  {
    prop: 'goodsName',
    minWidth: '400',
    label: '商品名称'
  },
  {
    prop: 'sku',
    minWidth: '100',
    label: '电商编号'
  },
  {
    prop: 'goodsState',
    minWidth: '100',
    label: '商品状态',
    slotName: 'goodsState'
  },
  {
    prop: 'selfPrice',
    minWidth: '100',
    label: '自营价格'
  },
  {
    prop: 'agreementPrice',
    minWidth: '100',
    label: '协议价'
  },
  {
    prop: 'officialPrice',
    minWidth: '100',
    label: '官网价格'
  },
  {
    prop: 'isAid',
    minWidth: '100',
    label: '是否扶贫',
    slotName:'isAid'
  },
  {
    prop: 'gmtModifyPrice',
    minWidth: '200',
    label: '价格变更时间'
  },
  {
    fixed: 'right',
    minWidth: '180',
    label: '操作',
    slotName: 'operation',
    btns: [
      {
        name: '',
        title: '外网商品展示',
        icon: 'link',
        event: 'showDetail'
      },
      {
        name: '',
        title: '设置自营价',
        icon: 'setting',
        event: 'setSelfPrice'
      }
    ]
  }
]
